Optimum Extendible Prefix Codes

نویسندگان

  • Cristian S. Calude
  • Ioan Tomescu
چکیده

Suppose that we have L messages coded by a prefix code (over an alphabet M with m letters) having a minimum weighted length. The problem addressed in this paper is the following: How to find s codewords for new messages so that by leaving unchanged the codification of the first L messages (by compatibility reasons), the resulting extended code is still prefix (over M) and has a minimum weighted length? To this aim we introduce the notion of optimum extendible prefix code and then, by modifying Huffman’s algorithm, we give an efficient algorithm to construct the optimum extension of a non-complete prefix code, provided the initial code is optimal.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Free-Extendible Prefix-Free Sets and an Extension of the Kraft-Chaitin Theorem

First, the dual set of a finite prefix–free set is defined. Using this notion we describe equivalent conditions for a finite prefix–free set to be indefinitely extendible. This lead to a simple proof for the Kraft– Chaitin Theorem. Finally, we discuss the influence of the alphabet size on the indefinite extensibility property.

متن کامل

A Comparative Study on the Distance-optimality for Distance-preserving Mappings Constructions with Cyclic-shift Prefix Technique

This paper presents a comparative study on the distance optimality for Distance-Preserving Mappings codes generated from different constructions. Few constructions are considered to investigate the reasons behind making codes optimumwhen they reach the upper bound on the sum of the Hamming distances for certain lengths of the permutation sequences. The technique of cyclic-shift prefix or suffix...

متن کامل

Extendible meta-interpreters

Meta-programming is a well-known technique widely used in logic programming and artificial intelligence. Meta-interpreters are powerful tools especially for writing expert systems in general and for writing their inference machines in particular. While the traditional approach to meta-interpretation is based on the syntactic definition of a meta-interpreter, new approach presented in this paper...

متن کامل

Optimum Extensions of Prefix Codes

An algorithm is given for finding the minimum weight extension of a prefix code. The algorithm runs in 0(n3), where n is the number of codewords to be added, and works for arbitrary alphabets. For binary alphabets the running time is reduced to O(n*), by using the fact that a certain cost matrix satisfies the quadrangle inequality. The quadrangle inequality is shown not to hold for alphabets of...

متن کامل

Congruences, Infix and Cohesive Prefix Codes

Ito, M. and G. Thierrin, Congruences, infix and cohesive prefix codes, Theoretical Computer Science 136 (1994) 471 485. A language L _~ X * is called a cohesive prefix code if xLyc~L ~ 0 implies that y = 1 and xL c L for any x, y~X*. An example of cohesive prefix codes is an infix code. We determine first the structure of cohesive prefix codes and then we study several relationships between max...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. UCS

دوره 3  شماره 

صفحات  -

تاریخ انتشار 1997